package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统消息对象 sys_novel_system_msg
 * 
 * @author chj
 * @date 2022-11-15
 */
public class SysNovelSystemMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 消息标题 */
    @Excel(name = "消息标题")
    private String messageTitle;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String messageText;

    /** 消息类型 1=用户消息 */
    @Excel(name = "消息类型 1=用户消息")
    private String messageType;

    /** 消息状态 1=未读 2=已读 3=移除（逻辑删除） */
    @Excel(name = "消息状态 1=未读 2=已读 3=移除", readConverterExp = "逻=辑删除")
    private String messageStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMessageTitle(String messageTitle) 
    {
        this.messageTitle = messageTitle;
    }

    public String getMessageTitle() 
    {
        return messageTitle;
    }
    public void setMessageText(String messageText) 
    {
        this.messageText = messageText;
    }

    public String getMessageText() 
    {
        return messageText;
    }
    public void setMessageType(String messageType) 
    {
        this.messageType = messageType;
    }

    public String getMessageType() 
    {
        return messageType;
    }
    public void setMessageStatus(String messageStatus) 
    {
        this.messageStatus = messageStatus;
    }

    public String getMessageStatus() 
    {
        return messageStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("messageTitle", getMessageTitle())
            .append("messageText", getMessageText())
            .append("messageType", getMessageType())
            .append("messageStatus", getMessageStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
